package org.sob.blog.controller.portal;

import org.sob.blog.response.ResponseResult;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/portal/comment")
public class CommentPortApi {
    @PostMapping
    public ResponseResult addComment() {
        return null;
    }

    @DeleteMapping("/{commentId}")
    public ResponseResult deleteComment(@PathVariable("commentId") String commentId) {
        return  null;
    }

    @PutMapping("/{commentId}")
    public ResponseResult updateComment(@PathVariable("commentId") String commentId) {
        return null;
    }

    @GetMapping("/{commentId}")
    public ResponseResult getComment(@PathVariable("commentId") String commentId) {
        return  null;
    }

    @GetMapping("/list")
    public ResponseResult listComments(@RequestParam("page") int page, @RequestParam("size") int size) {
        return  null;
    }
}
